//==========================================

// Check All boxes

//==========================================


//Check AllBox
function CheckAllBox(fmobj) {
    	
  for (var i=0;i<fmobj.elements.length;i++) {

    var e = fmobj.elements[i];

    if ((e.type=='checkbox') && (!e.disabled) ) {

      e.checked = true;

    }

  }

}


function CheckAll(fmobj) {

	
  for (var i=0;i<fmobj.elements.length;i++) {

    var e = fmobj.elements[i];

    if ( (e.name != 'allbox') && (e.type=='checkbox') && (!e.disabled) ) {

      e.checked = fmobj.allbox.checked;

    }

  }
}

